try {
  console.log("try start");
  var a;
  console.log(a.name);
  console.log("try end");
} catch (error) {
  console.log("catch start");
  console.log(error.message);
  console.log("catch end");
} finally {
  console.log("finally start");
  console.log("finally end");
}
